package com.tangding.hprose.api.server.command.impl.testForData;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年12月6日_上午11:21:42
 *
 */
public class TestSysMsgs implements TestCommand{

	@Override
	public Object products() {
		Map<String, Object> map = new HashMap<>();
		
		List<Map<String, Object>> neons = new ArrayList<>();
		Map<String, Object> neonItem = new HashMap<>();
		neonItem.put("neonID", 5001);
		neonItem.put("neonContent", "陈老师来了。");
		neonItem.put("createTime", "2017/11/29");
		neons.add(neonItem);
		
		neonItem = new HashMap<>();
		neonItem.put("neonID", 5001);
		neonItem.put("neonContent", "苍老师来了。");
		neonItem.put("createTime", "2017/11/30");
		neons.add(neonItem);
		map.put("neons", neons);
		
		List<Map<String, Object>> notices = new ArrayList<>();
		Map<String, Object> noticeItem = new HashMap<>();
		noticeItem.put("noticeID", 10001);
		noticeItem.put("noticeTitle", "上榜就送充气娃娃");
		noticeItem.put("noticeContent", "第一名送苍老师，第二名送凤姐！");
		noticeItem.put("createTime", "2017/11/13");
		notices.add(noticeItem);
		
		noticeItem = new HashMap<>();
		noticeItem.put("noticeID", 10002);
		noticeItem.put("noticeTitle", "欢乐大奉送");
		noticeItem.put("noticeContent", "充值100送100， 好礼享不停！");
		noticeItem.put("createTime", "2017/11/12");
		notices.add(noticeItem);
		map.put("notices", notices);
		
		return map;
	}

}
